﻿<html>
<head>
<title>wbTextBox</title>
<script language="javascript">
function verifycomment()
{
    document.commentform.comment.value = htmlEditor.getHTML();
    alert(document.commentform.comment.value);
    return false;
}
</script>
</head>
<body>
<form action='ddd' method='post' name='commentform' onSubmit="return verifycomment();">
<input type='hidden' name='comment' value=''>
<iframe id='htmlEditor'
        src='editor.html'
        frameborder='0'
        scrolling='no'
        width='500'
        height='200'>
    </iframe>
<input name='submit' type='button' value="save" onclick="return verifycomment();"> 
</form>
</body>
</html>
